﻿// -----------------------------------------------------------------------
// <copyright file=CauHinhChiTietBusiness company="">
// TODO: dangppsoft@gmail.com
// </copyright>
// -----------------------------------------------------------------------
namespace ManagerClinic.Core.Business
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using ManagerClinic.Core.Common;
    using ManagerClinic.Core.DataAccess;

    public class CauHinhChiTietBusiness
    {
        CauHinhChiTietDataAccess objDa = null;

        public CauHinhChiTietBusiness()
        {
            objDa = new CauHinhChiTietDataAccess();
        }

        public Int64 InsertCauHinhChiTiet(CauHinhChiTietEntity obj)
        {
            return objDa.InsertCauHinhChiTiet(obj);
        }

        public bool EditCauHinhChiTiet(CauHinhChiTietEntity obj)
        {
            return objDa.EditCauHinhChiTiet(obj);
        }

        public bool DeleteCauHinhChiTiet(Int64 maCauHinh)
        {
            return objDa.DeleteCauHinhChiTiet(maCauHinh);
        }

        public CauHinhChiTietEntity GetCauHinhChiTiet(Int64 maCauHinhChiTiet)
        {
            return objDa.GetCauHinhChiTiet(maCauHinhChiTiet);
        }

        public IList<CauHinhChiTietEntity> GetCauHinhChiTietList(Int64 maCauHinh)
        {
            return objDa.GetCauHinhChiTietList(maCauHinh);
        }

    }
}